<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简单任务管理器 - Jenkins自动测试项目</title>
    <link rel="stylesheet" href="styles/main.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>📝 简单任务管理器</h1>
            <p>用于Jenkins自动化测试的示例项目</p>
        </header>

        <main>
            <section class="add-task-section">
                <h2>添加新任务</h2>
                <div class="input-group">
                    <input type="text" id="taskInput" placeholder="输入任务内容..." maxlength="100">
                    <button id="addTaskBtn" class="btn btn-primary">添加任务</button>
                </div>
            </section>

            <section class="tasks-section">
                <h2>任务列表</h2>
                <div class="task-stats">
                    <span id="totalTasks">总任务: 0</span>
                    <span id="completedTasks">已完成: 0</span>
                    <span id="pendingTasks">待完成: 0</span>
                </div>
                <ul id="taskList" class="task-list">
                    <!-- 任务项将通过JavaScript动态添加 -->
                </ul>
                <div id="emptyState" class="empty-state">
                    <p>🎯 还没有任务，添加一个开始吧！</p>
                </div>
            </section>
        </main>

        <footer>
            <p>&copy; 2024 Jenkins自动测试项目示例</p>
        </footer>
    </div>

    <script src="scripts/main.js"></script>
</body>
</html>